<?php
use Illuminate\Container\Container;
use Illuminate\Database\Capsule\Manager as Capsule;

include "database.php";

$capsule = new Capsule;
$capsule->addConnection($database);
$capsule->setAsGlobal();
$capsule->bootEloquent();
